import http from '@/utils/http'

//获取banner

export function getBannerApi () {
  return http({
    url: '/home/banner'
  })
}


/**
 * 获取新鲜好物接口
 * @returns 
 */
export function getNewProduct () {
  return http({
    url: '/home/new'
  })
}

/**
 * 
 * @returns 获取人气推荐
 */
export function getHotProduct () {
  return http({
    url: '/home/hot'
  })
}